package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.HmArticles;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface ArticlesMapper extends BaseMapper<HmArticles> {
    @Select("select bs_user_id from token where token= #{s}")
    Integer selectCreatorid(String s);
}
